@ var _user = c.currentUser(request, servlet.response);
@ layout("/common/_layout.html"){
<h2 class="page-title">帐号设置</h2>

  <div class="fly-tab user-tab">
    <span id="LAY-mine">
      <a href="javascript:;" class="tab-this">我的资料</a>
      <a href="/user/face/${_user.id!}">头像</a>
      <a href="/user/pass/${_user.id!}">密码</a>
      <a href="/user/bind/${_user.id!}">帐号绑定</a>
    </span>
  </div>
 
  <div class="user-mine">
    <div class="layui-form layui-form-pane mine-view" style="display:block;">
      <form method="post" action="${ctxPath}/user/update">
        <div class="layui-form-item">
          <label for="L_email" class="layui-form-label">邮箱</label>
          <div class="layui-input-inline">
            <input type="text" id="L_email" name="user.email" required lay-verify="email" autocomplete="off" value="${user.email!}" class="layui-input">
          </div>
          <div class="layui-form-mid layui-word-aux">如果您在邮箱已激活的情况下，变更了邮箱，需<a href="activate.html" style="font-size: 12px; color: #4f99cf;">重新验证邮箱</a>。</div>
        </div>
        <div class="layui-form-item">
          <label for="L_username" class="layui-form-label">昵称</label>
          <div class="layui-input-inline">
            <input type="text" id="L_username" name="user.username" required lay-verify="required" autocomplete="off" value="${user.username!}" class="layui-input">
          </div>
          <div class="layui-inline">
            <div class="layui-input-inline">
              <input type="radio" name="sex" value="0" checked title="男">
              <input type="radio" name="sex" value="1" title="女">
            </div>
          </div>
        </div>
        <div class="layui-form-item">
          <label for="L_city" class="layui-form-label">BLOG</label>
          <div class="layui-input-inline">
            <input type="text" id="L_city" name="user.blogUrl" autocomplete="off" value="${user.blogUrl!}" class="layui-input">
          </div>
        </div>
        <div class="layui-form-item layui-form-text">
          <label for="L_sign" class="layui-form-label">签名</label>
          <div class="layui-input-block">
            <textarea placeholder="随便写些什么刷下存在感" id="L_sign"  name="user.feeling" autocomplete="off" class="layui-textarea" style="height: 80px;">${user.feeling!}</textarea>
          </div>
        </div>
        <div class="layui-form-item">
          <button class="layui-btn" key="set-mine" lay-filter="*" lay-submit>确认修改</button>
        </div>
        </form>
      </div>
  </div>
@ }